package com.nd.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @author: Aaron
 * @create: 2021-06-05 23:07
 **/
public class OrderListVO {
        private long total;
        private List<ItemsBean> items;

        public long getTotal() {
            return total;
        }

        public void setTotal(long total) {
            this.total = total;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }
        @Builder
        @NoArgsConstructor
        @AllArgsConstructor
        public static class ItemsBean {
            private int id;
            private int userId;
            private String orderSn;
            private int orderStatus;
            private String consignee;
            private String mobile;
            private String address;
            private String message;
            private BigDecimal goodsPrice;
            private BigDecimal freightPrice;
            private BigDecimal couponPrice;
            private BigDecimal integralPrice;
            private BigDecimal grouponPrice;
            private BigDecimal orderPrice;
            private BigDecimal actualPrice;
            private int comments;
            private Date endTime;
            private Date addTime;
            private Date updateTime;
            private boolean deleted;
            private String shipSn;
            private String shipChannel;
            private Date shipTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getOrderSn() {
                return orderSn;
            }

            public void setOrderSn(String orderSn) {
                this.orderSn = orderSn;
            }

            public int getOrderStatus() {
                return orderStatus;
            }

            public void setOrderStatus(int orderStatus) {
                this.orderStatus = orderStatus;
            }

            public String getConsignee() {
                return consignee;
            }

            public void setConsignee(String consignee) {
                this.consignee = consignee;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getMessage() {
                return message;
            }

            public void setMessage(String message) {
                this.message = message;
            }

            public BigDecimal getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(BigDecimal goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public BigDecimal getFreightPrice() {
                return freightPrice;
            }

            public void setFreightPrice(BigDecimal freightPrice) {
                this.freightPrice = freightPrice;
            }

            public BigDecimal getCouponPrice() {
                return couponPrice;
            }

            public void setCouponPrice(BigDecimal couponPrice) {
                this.couponPrice = couponPrice;
            }

            public BigDecimal getIntegralPrice() {
                return integralPrice;
            }

            public void setIntegralPrice(BigDecimal integralPrice) {
                this.integralPrice = integralPrice;
            }

            public BigDecimal getGrouponPrice() {
                return grouponPrice;
            }

            public void setGrouponPrice(BigDecimal grouponPrice) {
                this.grouponPrice = grouponPrice;
            }

            public BigDecimal getOrderPrice() {
                return orderPrice;
            }

            public void setOrderPrice(BigDecimal orderPrice) {
                this.orderPrice = orderPrice;
            }

            public BigDecimal getActualPrice() {
                return actualPrice;
            }

            public void setActualPrice(BigDecimal actualPrice) {
                this.actualPrice = actualPrice;
            }

            public int getComments() {
                return comments;
            }

            public void setComments(int comments) {
                this.comments = comments;
            }

            public Date getEndTime() {
                return endTime;
            }

            public void setEndTime(Date endTime) {
                this.endTime = endTime;
            }

            public Date getAddTime() {
                return addTime;
            }

            public void setAddTime(Date addTime) {
                this.addTime = addTime;
            }

            public Date getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Date updateTime) {
                this.updateTime = updateTime;
            }

            public boolean isDeleted() {
                return deleted;
            }

            public void setDeleted(boolean deleted) {
                this.deleted = deleted;
            }

            public String getShipSn() {
                return shipSn;
            }

            public void setShipSn(String shipSn) {
                this.shipSn = shipSn;
            }

            public String getShipChannel() {
                return shipChannel;
            }

            public void setShipChannel(String shipChannel) {
                this.shipChannel = shipChannel;
            }

            public Date getShipTime() {
                return shipTime;
            }

            public void setShipTime(Date shipTime) {
                this.shipTime = shipTime;
            }
        }
    }

